﻿using System;

namespace Nizm0.Chat.Client
{
    public class Program
    {
        [STAThread]
        static void Main(string[] args)
        {
            System.Windows.Forms.Application.Run(new frmChatClient());
            //Thread.Sleep(100);
            //Client test = new Client();
            ////test.Start();

            ////test.Send(Console.ReadLine());

            ////System.Threading.Thread.Sleep(1000);

            ////for (int i=0; i < 10; i++)
            ////{
            ////    test.Send("a"+i);
            ////}

            ////test.Send(System.IO.File.OpenRead("Foo.txt"));
            
            //for (int i = 0; i < 10; i++)
            //{
            //    Messages.Message o = new Messages.Message("test" + i.ToString());
            //    //o.MessageText = "test"+i.ToString();
            //    //o.SendDate = DateTime.Now;
            //    //test.sprawdz(o);
            //    test.Send((object)o);
            //    System.Threading.Thread.Sleep(100);
            //}
            ////test.Disconnect();
        }
    }
}
